<?php
class CategoriesController extends AppController
{
    function beforeFilter()
    {
        parent::beforeFilter();
    }
    
    function admin_index()
    {
        $categories = $this->Category->find('all', array(
            'recursive' => -1
        ));
        $this->set('categories', $categories);
    }
    
}
?>